<%@ Control Inherits="CVCommunity.Admin.Moderator" %>
<%@ Register tagPrefix="forum" namespace="CVCommunity.Provider" assembly="CVCommunity.Provider"%>
<script language="javascript" src="../scripts/calendar.js"></script>

<form runat="server" onsubmit="return checknumber();">
<div class="grid">
<asp:Panel ID="list" runat="server">
<table cellspacing="0" class="inner">
<tr class="forumno category">
<td>版主设定</td>
</tr>
<tr class="forumtd">
<td bgcolor="#FFFFFF"><a href="?action=board&operation=list">版面列表</a></td>
</tr>
<tr style="padding:5px;">
<td>

<table cellspacing='0' class="inner">
<tr class="forumtd" style="font-size:12px">
<td width='50'>操作</td>
<td width='100'>用户名</td>
<td width='72'>排序</td>
<td>管理版面</td>
<td width='100' align="center">过期时间</td>
<td width='100' align="center">管理权限</td>
</tr>
<asp:Repeater EnableViewState='false' ID='moderatorlist' runat='server'>
<itemtemplate>
<tr class="forumtd" style="font-size:12px;">
<td><forum:Anchor id="remove" text="删除" runat="server" onclick="return confirm('删除后将不能恢复，确定要删除吗？');" /></td>
<td><forum:Anchor id="name" runat="server" /></td>
<td><forum:Place id="order" runat="server" /></td>
<td><forum:Span id="boardname" runat="server" /></td>
<td align="center"><forum:Span id="expirty" runat="server" /></td>
<td align="center"><forum:Anchor id="moderatorpermission" Text="详情" runat="server" /></td>
</tr>
</itemtemplate>
</asp:Repeater>
<tr class="forumtd" align="center">
<td colspan="8"><asp:Button Text="  提交  " CssClass="button" OnClick="ReOrder" runat="server" /></td>
</tr>
</table>
<table cellspacing='0' class="inner">
<tr class="forumtd">
<td bgcolor="#FFFFFF"><strong>添加版主</strong></td>
</tr>
<tr class="forumtd">
<td>管理版面&nbsp;<asp:DropDownList ID="Boards" runat="server"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;有效日期至&nbsp;<input name="expirty" value='' style="width:130px" onclick="calendar.setHook(this)" maxlength="10" readonly="readonly"/>&nbsp;留空则为永久</td>
</tr>
<tr class="forumtd">
<td>多个用户用回车分割<br />
<asp:TextBox ID="Name" TextMode="MultiLine" Width="98%" Height="150" runat="server" /></td>
</tr>
<tr class="forumtd">
<td align="center"><asp:Button Text="  提交  " CssClass="button"  OnClick="Add" runat="server" /></td>
</tr>
</table>

</td>
</tr>
</table>
</asp:Panel>
</div>
</form>